package com.ruoyi.system.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员休息记录对象 t_medical_base_user_scheduler
 * 
 * @author ruoyi
 * @date 2022-01-05
 */
public class MedicalBaseUserScheduler extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员休息记录id */
    private String id;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    private String userid;
    /** 人员信息 */
    @Excel(name = "人员信息")
    private SysUser sysUser;
    /** 休息时间 */
    @Excel(name = "休息时间")
    private Long restdate;

    /** 上午/下午（1,上午  2,下午） */
    private Long datedetail;

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    /** 部门排班记录Id */
    private String groupschedulerid;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setRestdate(Long restdate) 
    {
        this.restdate = restdate;
    }

    public Long getRestdate() 
    {
        return restdate;
    }
    public void setDatedetail(Long datedetail) 
    {
        this.datedetail = datedetail;
    }

    public Long getDatedetail() 
    {
        return datedetail;
    }
    public void setGroupschedulerid(String groupschedulerid) 
    {
        this.groupschedulerid = groupschedulerid;
    }

    public String getGroupschedulerid() 
    {
        return groupschedulerid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("restdate", getRestdate())
            .append("datedetail", getDatedetail())
            .append("groupschedulerid", getGroupschedulerid())
            .append("remark", getRemark())
            .toString();
    }
}
